import {expect, test} from 'bun:test';
import {createDinf} from '../create/iso-base-media/trak/mdia/minf/create-dinf';

const data = new Uint8Array([
	0x00, 0x00, 0x00, 0x24, 0x64, 0x69, 0x6e, 0x66, 0x00, 0x00, 0x00, 0x1c, 0x64,
	0x72, 0x65, 0x66, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
	0x00, 0x0c, 0x75, 0x72, 0x6c, 0x20, 0x00, 0x00, 0x00, 0x01,
]);

test('dinf', () => {
	expect(createDinf()).toEqual(data);
});
